<table id="cart_table" style="width: 100%">
  <thead>
    <tr>
      <th colspan="2">[?php echo __("Items in cart", array(), 'sf_admin') ?]</th>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <th colspan="2">
        [?php echo format_number_choice('[0] no items in cart|[1] 1 item in cart|(1,+Inf] %1% items in cart', array('%1%' => count($cart_objects)), count($cart_objects)) ?]
      </th>
    </tr>
  </tfoot>
  [?php foreach ($cart_objects as $<? echo $this->getSingularName() ?>): ?]
    <tr>
      <td>
        <input type="checkbox" name="ids[]" value="[?php echo $<?php echo $this->getSingularName() ?>->getPrimaryKey() ?]" class="sf_admin_batch_checkbox" />
      </td>
      <td>
        [?php echo $<? echo $this->getSingularName() ?>?]
      </td>
    </tr>
  [?php endforeach ?]
</table>
